package cn.xinfei.xdecision.engine.runner.executor.model;

import cn.xinfei.xdecision.common.model.enginex.model.RuleSetDecisionResultData;
import cn.xinfei.xdecision.common.model.enginex.model.RuleHitModel;
import cn.xinfei.xdecision.common.utils.util.DateUtils;
import lombok.Data;

import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.Stack;

@Data
public class EngineNodeLog {
    private String requestId;
    private String decisionId;
    private String engineCode;
    private String nodeCode;
    private String nodeType;
    private String nodeName;
    private long versionNo;
    private Map<String, Object> input;
    private Map<String, Object> output;
    private List<RuleHitModel> ruleHitList;
    private List<RuleSetDecisionResultData> branchRejectInfo;
    private String createTime = DateUtils.getCurrentStrDate();
    private String updateTime = DateUtils.getCurrentStrDate();
    private Stack<String> ips=new Stack<>();//处理这条记录的及其ip
}
